package com.gangan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gangan.model.Order;
import com.gangan.model.Patient;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;
import java.util.Map;

public interface PatientMapper extends BaseMapper<Patient> {

    void addPatient(Patient patient);

    List<Patient> getPatientByUser(Integer userId);

    List<Patient> getPatientList();

    List<Patient> getListByWhere(String param);

    void disDoctor(Map<String,Object>map);

}
